<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    
    <%@taglib prefix="s" uri="/struts-tags" %>    
    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>
	
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
		<title>Cadastro de Usuários</title>		
		<link rel="StyleSheet" type="text/css" href="css/usuario.css"/>
	</head>
	
	<body >		
	
	<center>
		<div style="border:1; background-color: buttonface; width: 35%; padding: 10; padding-bottom: 20; padding-top: 30">	
			<center>
		
				<s:form method="post" action="SalvarPessoa">
					<s:textfield name="pessoa.nome" required="true" maxLength="60" size="50" label="Nome" />
					<s:textfield name="pessoa.email" required="false" maxLength="50" size="50" label= "E-mail"/>
					<s:textfield name="pessoa.nrTelefone" required="true" maxLength="15" size="50" label="Usuàrio"/>			
					<s:textfield name="pessoa.nrMatricula" required="true" maxLength="15" size="50" label="Matrícula"/>	
					
					<s:submit value="Cadastrar"					
						preInvokeJS="confirm('Confirma a inclusão?');" />
						
				</s:form>
			</center>
			
		</div>
	</center>
		
   </body>
</html>
        